﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPCCore.Helpers
{
    public class Location
    {
        #region Fields

        //Location Name
        private string name;
        //Base value for location
        private decimal baseValue;
        //Symbol for location
        private string currencySymbol;

        #endregion

        public Location()
        {
            name = String.Empty;
            baseValue = 0.00M;
            currencySymbol = String.Empty;
        }

        #region Properties

        /// <summary>
        /// Get/Set location name e.g. "United Kingdom"
        /// </summary>
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        /// <summary>
        /// Get/Set base value for the given location e.g. "0.01"
        /// </summary>
        public decimal BaseValue
        {
            get
            {
                return baseValue;
            }
            set
            {
                baseValue = value;
            }
        }

        /// <summary>
        /// Get/Set the currency symbol for the given location e.g. "£"
        /// </summary>
        public string CurrencySymbol
        {
            get
            {
                return currencySymbol;
            }
            set
            {
                currencySymbol = value;
            }
        }
        #endregion
    }
}
